package com.guoxue.model;

import com.guoxue.domain.PropertyConfigVo;

public class ShopConfig extends PropertyConfigVo{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int price;
	private int buyLimit;
	private PropertyConfigVo propertyConfigVo;
	
	public ShopConfig(int price, int buyLimit, PropertyConfigVo propertyConfigVo) {
		super();
		this.price = price;
		this.buyLimit = buyLimit;
		super.setIsOverlay(propertyConfigVo.getIsOverlay());
		super.setOverlayCount(propertyConfigVo.getOverlayCount());
		super.setParameter1(propertyConfigVo.getParameter1());
		super.setParameter2(propertyConfigVo.getParameter2());
		super.setParameter3(propertyConfigVo.getParameter3());
		super.setParameter4(propertyConfigVo.getParameter4());
		super.setPropIcon(propertyConfigVo.getPropIcon());
		super.setPropId(propertyConfigVo.getPropId());
		super.setPropName(propertyConfigVo.getPropName());
		super.setPropType(propertyConfigVo.getPropType());
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getBuyLimit() {
		return buyLimit;
	}
	public void setBuyLimit(int buyLimit) {
		this.buyLimit = buyLimit;
	}
	public PropertyConfigVo getPropertyConfigVo() {
		return propertyConfigVo;
	}
	public void setPropertyConfigVo(PropertyConfigVo propertyConfigVo) {
		this.propertyConfigVo = propertyConfigVo;
	}
	
	
	
}
